import QtQuick 2.12
import QtGraphicalEffects 1.0

Item {
    id: myRectangle
    implicitHeight: 100
    implicitWidth: 100
    property alias color: card.color
    property alias radius: card.radius

    Rectangle {
        id: card
        anchors.fill: parent
        radius: 4
        color: "white"
    }

    DropShadow {
        id: shadow
        anchors.fill: card
        source: card
        radius: 15
        samples: 31
        color: "#CCCCCC"
    }
}
